home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BMUG PD-ROM BV3
/
BMUG PD-ROM Version BV3 (CDRM1097900).iso
/
HyperCard
/
Education
/
Weights & Measures
/
card_4511.txt
< prev
next >
Wrap
Text File
|
1991-10-27
|
15KB
|
689 lines
-- card: 4511 from stack: in
-- bmap block id: 4706
-- flags: 4000
-- background id: 2785
-- name:
----- HyperTalk script -----
on calculate
global x
set lockscreen to true
put 0.3048*.3048*.3048 into c
put x*1000 into card field 1
put x into card field 2
put x*1000000 into card field 3
put x*1000000000 into card field 4
put (x / c) /27 into card field 5
put (x / c) into card field 6
put (x / c) * 1728 into card field 7
put (x / c) * (1728/231) into card field 8
put (x / c) * (1728/277.418) into card field 9
put (x / c) * 4*(1728/231) into card field 10
put (x / c) * 4*(1728/277.418) into card field 11
put (x / c) * 8*(1728/231) into card field 12
put (x / c) * 8*(1728/277.418) into card field 13
put (x / c) *128* (1728/231) into card field 14
put (x / c) * 160*(1728/277.418) into card field 15
put x/0.1192371264 into card field 16
set lockscreen to false
end calculate
-- part 26 (button)
-- low flags: 00
-- high flags: A002
-- rect: left=8 top=86 right=108 bottom=116
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Liters
----- HyperTalk script -----
on mouseUp
global x
ask "Enter Value"
put it/1000 into x
calculate
end mouseUp
-- part 2 (button)
-- low flags: 00
-- high flags: A002
-- rect: left=8 top=150 right=172 bottom=117
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: CU Meters
----- HyperTalk script -----
on mouseUp
global x
ask "Enter Value"
put it into x
calculate
end mouseUp
-- part 5 (button)
-- low flags: 00
-- high flags: A002
-- rect: left=8 top=217 right=239 bottom=116
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: CU Centimeters
----- HyperTalk script -----
on mouseUp
global x
ask "Enter Value"
put it/1000000 into x
calculate
end mouseUp
-- part 6 (button)
-- low flags: 00
-- high flags: A002
-- rect: left=8 top=284 right=306 bottom=116
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: CU Millimeters
----- HyperTalk script -----
on mouseUp
global x
ask "Enter Value"
put it/ 1000000000 into x
calculate
end mouseUp
-- part 27 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=8 top=107 right=126 bottom=116
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 4 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=8 top=171 right=190 bottom=117
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 7 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=8 top=238 right=257 bottom=116
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 8 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=8 top=305 right=325 bottom=116
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 10 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=130 top=106 right=125 bottom=238
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 11 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=130 top=171 right=191 bottom=238
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 13 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=128 top=238 right=257 bottom=235
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 16 (button)
-- low flags: 00
-- high flags: A002
-- rect: left=130 top=86 right=107 bottom=238
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: CU Yards
----- HyperTalk script -----
on mouseUp
global x
ask "Enter Value"
put it *0.9144^3 into x
calculate
end mouseUp
-- part 17 (button)
-- low flags: 00
-- high flags: A002
-- rect: left=130 top=150 right=172 bottom=238
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: CU Feet
----- HyperTalk script -----
on mouseUp
global x
ask "Enter Value in DECIMAL"
put it *.3048^3 into x
calculate
end mouseUp
-- part 18 (button)
-- low flags: 00
-- high flags: A002
-- rect: left=128 top=218 right=240 bottom=235
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: CU Inches
----- HyperTalk script -----
on mouseUp
global x
ask "Enter Value in DECIMAL"
put it *.0254^3 into x
calculate
end mouseUp
-- part 28 (button)
-- low flags: 00
-- high flags: A002
-- rect: left=277 top=85 right=108 bottom=385
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: US Gallons
----- HyperTalk script -----
on mouseUp
global x
ask "Enter Value"
put (it*231)*(.0254^3) into x
calculate
end mouseUp
-- part 29 (button)
-- low flags: 00
-- high flags: A002
-- rect: left=394 top=85 right=107 bottom=502
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Imp Gallons
----- HyperTalk script -----
on mouseUp
global x
ask "Enter Value"
put (it*277.418)*(.0254^3) into x
calculate
end mouseUp
-- part 30 (button)
-- low flags: 00
-- high flags: A002
-- rect: left=280 top=151 right=173 bottom=388
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: US Quarts
----- HyperTalk script -----
on mouseUp
global x
ask "Enter Value"
put (it*231/4)*(.0254^3) into x
calculate
end mouseUp
-- part 32 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=277 top=107 right=126 bottom=385
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 31 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=394 top=106 right=125 bottom=502
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 33 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=280 top=172 right=191 bottom=388
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 34 (button)
-- low flags: 00
-- high flags: A002
-- rect: left=396 top=150 right=172 bottom=504
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Imp Quarts
----- HyperTalk script -----
on mouseUp
global x
ask "Enter Value"
put (it*277.418/4)*(.0254^3) into x
calculate
end mouseUp
-- part 35 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=396 top=171 right=190 bottom=504
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 36 (button)
-- low flags: 00
-- high flags: A002
-- rect: left=280 top=216 right=239 bottom=388
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: US Pints
----- HyperTalk script -----
on mouseUp
global x
ask "Enter Value"
put (it*231/8)*(.0254^3) into x
calculate
end mouseUp
-- part 37 (button)
-- low flags: 00
-- high flags: A002
-- rect: left=396 top=216 right=239 bottom=504
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Imp Pints
----- HyperTalk script -----
on mouseUp
global x
ask "Enter Value"
put (it*277.418/8)*(.0254^3) into x
calculate
end mouseUp
-- part 38 (button)
-- low flags: 00
-- high flags: A002
-- rect: left=279 top=284 right=307 bottom=387
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: US Ounce
----- HyperTalk script -----
on mouseUp
global x
ask "Enter Value"
put (it*231/128)*(.0254^3) into x
calculate
end mouseUp
-- part 39 (button)
-- low flags: 00
-- high flags: A002
-- rect: left=396 top=283 right=306 bottom=504
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Imp Ounce
----- HyperTalk script -----
on mouseUp
global x
ask "Enter Value"
put (it*277.418/160)*(.0254^3) into x
calculate
end mouseUp
-- part 40 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=280 top=238 right=257 bottom=388
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 41 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=396 top=238 right=257 bottom=504
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 42 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=279 top=306 right=325 bottom=387
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 43 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=396 top=305 right=324 bottom=504
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 44 (button)
-- low flags: 00
-- high flags: A002
-- rect: left=131 top=284 right=306 bottom=239
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Barrel
----- HyperTalk script -----
on mouseUp
global x
ask "Enter Value"
put it*0.1192371264 into x
calculate
end mouseUp
-- part 45 (field)
-- low flags: 01
-- high flags: 0002
-- rect: left=131 top=305 right=324 bottom=239
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part contents for card part 4
----- text -----
0.000355
-- part contents for card part 7
----- text -----
354.882355
-- part contents for card part 8
----- text -----
354882.35475
-- part contents for card part 10
----- text -----
0.000464
-- part contents for card part 11
----- text -----
0.012533
-- part contents for card part 13
----- text -----
21.65625
-- part contents for card part 27
----- text -----
0.354882
-- part contents for card part 32
----- text -----
0.09375
-- part contents for card part 31
----- text -----
0.078064
-- part contents for card part 33
----- text -----
0.375
-- part contents for card part 35
----- text -----
0.312254
-- part contents for card part 40
----- text -----
0.75
-- part contents for card part 41
----- text -----
0.624509
-- part contents for card part 42
----- text -----
12
-- part contents for card part 43
----- text -----
12.490177
-- part contents for card part 45
----- text -----
0.002976
-- part contents for background part 5
----- text -----
1 --,liter,liters,litre,litres,lit,lt,l,
2 --,cubic meters,meters cube,cubic meter,meter cube,cu meters,meters cu,cu meter,meter cu,cubic met,met cube,cubic m,m cube,mc,cm,m3,
3 --,cubic centimeters,centimeters cube,cubic centimeter,centimeter cube,cu centimeters,centimeters cu,cu centimeter,centimeter cube,cubic cm,cm cube,cu cm,cm cu,ccm,cm3,cc,milliliters,milliliter,
4 --,cubic millimeters,millimeters cube,cubic millimeter,millimeter cube,cu millimeters,millimeters cu,cu millimeter,millimeter cu,cu mm,mm cu,mm3,cmm,mmc,cu mlm,mlm cu,
5 --,cubic yards,yards cube,cubic yard,yard cube,cu yards,yards cu,cu yard,yard cu,cubic yd,yd cube,cyd,yd3,
6 --,cubic feet,feet cube,cubic foot,foot cube,cu feet,feet cu,cu foot,foot cube,cf,ft3,f3,cuf,
7 --,cubic inches,inches cube,cubic inche,inche cube,cu inches,inches cu,cu inche,inche cu,cubic in,in cube,cu in,in cu,in3,i3,ci,ic,
8 --,gallon,gallons,us gallon,us gallons,gallons us,gallon us,gal us,us gal,gal,gls,gln,
9 --,imp gallon,imp gallons,gallons imp,gallon imp,gal imp,imp gal,imperial gallons,imperial gallon,gallons imperial,gallon imperial,imperial gal,gal imperial,
10 --,quart,quarts,us quarts,us quart,quart us,quarts us,qt,q,qts,qrts,qrt,
11 --,imperial quart,imperial quarts,imp quarts,imp quart,quart imp,quarts imp,imp qt,qt imp,imp qts,imp qrts,imp qrt,qrt im
12 --,pints,pint,us pints,us pint,pints us,pint us,pnts,pnt,
13 --,imperial pints,imperial pint,pints imperial,pint imperial,imp pints,imp pint,pints imp,pint imp,imp pt,pt imp,
14 --,fluid ounce,fluid ounces,fl ounce,fl ounces,fl us ounce,fl us ounces,fl ounce us,fl ounces us,fl oz,fluid us ounce,fluid us ounces,fluid ounce us,fluid ounces us,fluid oz,
15 --,imperial fluid ounce,imperial fluid ounces,fluid ounce imperial,fluid ounces imperial,imp fluid ounce,imp fluid ounces,fluid ounce imp,fluid ounces imp,imp fluid oz,fluid oz imp,imperial fl ounce,imperial fl ounces,fl ounce imperial,fl ounces imperial,imp fl ounce,imp fl ounces,fl ounce imp,fl ounces imp,imp fl oz,fl oz imp,
16 --,barrel,barrels,